footer.bg-dark#footer-navbar
    aside.d-none
    .container.p-5
        .row
            .col-12.pb-5
                navigation(nav-id="2" root='div' class="row justify-content-center" id="" max-level="1")
                    php.
                        $menu_item = $level > 1 ? 'dropdown-menu-item' : 'col-auto';
                        $dropdown_link = $level > 1 ? 'dropdown-item' : 'text-white-50';
                    navigationMenu(root="div" class="{$menu_item}")
                        a(class="{$dropdown_link}" href="{$menu.href|default=''}" target="{$menu.target|default=''}")
                            i.fa.mr-1(class="{$menu.icon|default='fa-book'}")
                            span {$menu.name|default=''}
                    navigationFolder(root="li" class="nav-item dropdown" dropdown="ul" dropdown-class="dropdown-menu")
                        a(href="#" class="nav-link dropdown-toggle dropdown-toggle-{$level}" role="button" data-toggle="dropdown" aria-haspopup="false" aria-expanded="false")
                            i.fa.mr-1(class="{$menu.icon|default='fa-book'}")
                            span {$menu.name}
        .row.justify-content-center.text-white-50
            .col-auto {$site_info.site_name|default=''} Copyright © 2019
            .col-auto
                a.text-white-50(href="http://www.beian.miit.gov.cn") {$site_info.site_icp|default=''}
            .col-auto
